﻿using ERPSystem.Common.DTO;
using MediatR;
using SqlSugar;

namespace SalesManagementCommon.API.SalesManagementCommons.PurchaseReturnOrderRead
{
    public class PurchaseReturnOrderQueryCommand:IRequest<Result<PageResultDto<PurchaseReturnOrderQueryDto>>>
    {
        /// <summary>
        /// 跟单编码
        /// </summary>
        public string? CopyNo { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        public string? PurchaseReturnOrderNo { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MaterialNo { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDocumentDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDocumentDate { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

    }
}
